MailPoet\Segments\WooCommerce A

Total Complexity 67
Dependencies 20
Dependents 8
Total lines 597
Lines of code 431
Logical lines of code 222
Comment lines 68
Methods 18
Properties 14

Methods 18

Method Rating Maintainability Complexity Lines of code
synchronizeRegisteredCustomer()
A
45 13 42
updateNames()
A
41 10 59
synchronizeGuestCustomer()
A
51 9 27
removeOrphanedSubscribers()
S
39 4 75
insertSubscribersFromOrders()
S
47 5 37
synchronizeCustomers()
S
58 3 16
ensureColumnCollation()
S
60 3 14
updateStatus()
S
53 2 24
insertSubscribers()
S
53 2 23
updateGlobalStatus()
S
52 1 30
insertSubscriberFromOrder()
S
66 3 8
shouldShowWooCommerceSegment()
S
67 3 8
shouldSubscribeToWooSegment()
S
71 3 5
needsCollationChange()
S
63 2 11
insertUsersToSegment()
S
60 1 14
__construct()
S
59 1 14
unsubscribeUsersFromSegment()
S
61 1 13
markRegisteredCustomers()
S
62 1 11